package Operation;
import Book.BookList;
import java.awt.print.Book;

public class Displayoperation implements Interface{
    @Override
    public void work(BookList bookList) {
        int Quantity=bookList.getQuantity();
        for (int i = 0; i < Quantity; i++) {
            Book book=bookList.getpoi(i);
            System.out.println(book);
        }
    }
}
